const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  visitedviews: state => state.tagsview.visitedviews,
  goodsStu: state => state.goods.goodsStu,
  typeStu: state => state.goods.typeStu,
  shopsStu: state => state.shops.shopsStu,
  serverStu: state => state.server.serverStu,
  data: state => state.user.data,
  list: state => state.user.list,
  allshoper: state => state.user.allshoper,
  // 新增
  // 数据数组
  gettableDataGoodsGetters(state) {
    return state.orderGoods.tableDataGoods;
  },
  // 分页数据
  getPageGoodsGetters(state) {
    return state.orderGoods.pageGoods;
  },
  // 服务
  // 数据数组
  gettableDataServicesGetters(state) {
    return state.orderServices.tableDataServices;
  },
  // 分页数据
  getPageServicesGetters(state) {
    return state.orderServices.pageServices;
  },
}
export default getters
